QT -= gui
QT += network
QT += sql

CONFIG += c++17 console
CONFIG -= app_bundle

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    corectrl.cpp \
    device.cpp \
    encryptor/enigmaencryptor.cpp \
    main.cpp \
    user.cpp \
    userpool.cpp \
    logwriter.cpp \
    communicate/databuffer.cpp \
    communicate/socketthread.cpp \
    communicate/webhandler.cpp

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

HEADERS += \
    corectrl.h \
    device.h \
    encryptor/encryptor.h \
    encryptor/enigmaencryptor.h \
    encryptor/enigmasecretlist.h \
    user.h \
    userpool.h \
    logwriter.h \
    communicate/databuffer.h \
    communicate/socketthread.h \
    communicate/webhandler.h \
    core/coredefine.h
